<?php
	session_start();
	unset ($_SESSION['login']);
	unset ($_SESSION['password']);
	unset ($_SESSION['user_id']);
	unset ($_SESSION['status']);
	header("Location: ".$_SERVER['HTTP_REFERER']);
?>